package lagou.io.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

public class Configuration {

    private DataSource dataSource;
    Map<String,MappedStagement> mappedStagement = new HashMap<String,MappedStagement>();

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public void setMappedStagement(Map<String, MappedStagement> mappedStagement) {
        this.mappedStagement = mappedStagement;
    }

    public DataSource getDataSource() {
        return dataSource;
    }

    public Map<String, MappedStagement> getMappedStagement() {
        return mappedStagement;
    }
}
